package com.kehutong.wxapi.response;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 创建企业群发响应对象
 * @author: liukunlong
 * @date: 2021-03-05 10:27
 */
public class AddMsgTemplateResponse {

    public final static String SUCCESS = "ok";

    /**
     * errcode
     */ /**
     * errcode : 0
     * errmsg : ok
     * fail_list : ["wmqfasd1e1927831123109rBAAAA"]
     * msgid : msgGCAAAXtWyujaWJHDDGi0mAAAA
     */

    @JSONField(name = "errcode")
    private Integer errcode;
    /**
     * errmsg
     */
    @JSONField(name = "errmsg")
    private String errmsg;
    /**
     * failList
     */
    @JSONField(name = "fail_list")
    private List<String> failList;
    /**
     * msgid
     */
    @JSONField(name = "msgid")
    private String msgid;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public List<String> getFailList() {
        return failList;
    }

    public void setFailList(List<String> failList) {
        this.failList = failList;
    }

    public String getMsgid() {
        return msgid;
    }

    public void setMsgid(String msgid) {
        this.msgid = msgid;
    }

    @Override
    public String toString() {
        return "AddMsgTemplateResponse{" +
                "errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                ", failList=" + failList +
                ", msgid='" + msgid + '\'' +
                '}';
    }
}
